import s from './request.js'

const homeApi = {
  homeApiMenuList: function () {
    console.log(1)
    return new Promise((resolve, reject) => {
      s({
        url: 'menus',
        method: 'get',
        data: { params: {} }
      }).then(res => {
        // console.log(11)
        resolve(res)
      }).catch(err => {
        // console.log(22)
        reject(err)
      })
    })
  }
}

export default homeApi
